package com.homeWork;

public class JavaTeacher extends Teacher {
    public JavaTeacher(String name, String sex, int age, int teacherAge, String school) {
        super(name, sex, age, teacherAge, school);
    }

    public JavaTeacher() {
    }
    public void showInfo(){
        super.showInfo();
    }
    public void teach(){
        System.out.println("授课的步骤依次是：打开Eclipse、实施理论课授课");
    }
}
